package com.ht.module.bus.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;


/**
 * <p>
 * 房间流水记录表
 * </p>
 *
 * @author hejialun
 * @since 2024-12-30
 */

@TableName("bus_room_record")
@Data
@Accessors(chain = true)
public class BusRoomRecord{

	@ApiModelProperty("主键id")
    @TableId
    private String roomRecordId;

	@ApiModelProperty("房间主键")
    private Integer roomId;

	@ApiModelProperty("动作类型:关联字典action_type")
    private String actionType;

	@ApiModelProperty("动作人")
    private String actionUser;

	@ApiModelProperty("分数")
    private BigDecimal score;

	@ApiModelProperty("抽取台费")
    private BigDecimal taiwanFee;

	@ApiModelProperty("被动人")
    private String passivityUser;

	@ApiModelProperty("创建时间")
    private LocalDateTime createDate;

    @ApiModelProperty("动作人昵称")
    @TableField(exist = false)
    private String actionUserName;

    @ApiModelProperty("动作人头像")
    @TableField(exist = false)
    private String actionUserAvatar;

    @ApiModelProperty("被动人昵称")
    @TableField(exist = false)
    private String passivityUserName;

    @ApiModelProperty("被动人头像")
    @TableField(exist = false)
    private String passivityUserAvatar;

    @ApiModelProperty("动作描述")
    @TableField(exist = false)
    private String desc;
}
